* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Quicksand';
    padding-top: 0px; /* Adjust this to the height of your header */
    margin: 0px;
    /* font-family: 'Times New Roman', Times, serif; */
    /* overflow-x: hidden; */
}

/* h3{
    font-family: 'Montserrat', sans-serif;
} */

header{
    margin: 0 !important;
}

.new-card{
    display: flex;
    width: 95%;
    color: black;
    margin: 0 auto;
    align-items: center;
    margin-top: 20px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
}

.new-image-container{
    position: relative;
    width: 50%;
    height: auto;
    overflow: hidden;
    border-radius: 15px;
}

.new-package-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.new-card a{
    text-decoration: none; /* Remove underline */
    color: #000;
    display: inline-block; /* Prevent it from affecting layout */
    width: 100%;
}

.new-info{
    width: 100%;
}

/* .new-details-wrapper{
    display: flex;
    flex-direction: column;
    
} */


.new-details-wrapper{
    width: calc(50% + 40px);
    /* margin-right: 50px; */
}


.new-card-details-container{
    background-color: white;

    min-height: 150px;
    height: 50%;
    padding: 20px;
    display: flex;
    position: relative;
    justify-content: center;
    /* margin-right: 30px; */
    margin-left: -40px;
    border-radius: 15px;
}

.new-package-features{
    position: relative;
    /* bottom: -10px; */
    /* width: 100%; */
    top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;  /* Center the items horizontally */
    gap: 30px;                /* Consistent gap between items */
    padding: 0 15px;
    /*margin-left: 30px;
    margin-right: 30px; */
}
.feature {
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    /* gap: 2px; */
    /* margin-right: 5px; */
    font-size: 0.8em;
}

.new-feature {
    /* background-color: #ed3237; */
    background: linear-gradient(10deg, #ece1e1, #ffd3d5); /* Gradient button */
    padding: 10px 10px;
    border-radius: 30px;
    /* display: flex; */
    align-items: center;
    color: #202020;
    /* gap: 2px; */
    /* margin-right: 5px; */
    font-size: 1em;
}


.feature.disabled {
    opacity: 0.5;
}

.feature i{
    margin-right: 4px;
}

.new-enquiry-btn{
    position: relative;
    top:10px;
    text-decoration: none;
    max-width: 70%;
    /* background: linear-gradient(135deg, #FF512F 0%, #DD2476 100%); */
    /* background: linear-gradient(155deg, #ed3237 0%, #ff99c2 100%); */
    background: linear-gradient(350deg, #ff5858, #ee3237); /* Gradient button */
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s ease;
    margin-bottom: 10px;
}

.new-enquiry-btn:hover {
    background: linear-gradient(135deg, #ca0000 0%, #ed3237 100%);
    /* background: #ed3237; */
    /* opacity: 0.5; */
    /* scale: 1.1 ; */
}

.new-button{
    width: 50%;
    min-width: 150px;
    height: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.new-viewmore-btn {
    position: relative;
    /* bottom: 10px; */
    top: 30px;
    cursor: pointer;
    color: blue;
    font-weight: bold;
    text-align: center;

}

.new-viewmore-btn:hover {
    text-decoration: underline;
}

.new-viewmore-btn.active {
    color: #ed3237; /* Color when active */
}

.new-more-details-card {
    /* display: none; */
    background-color: #f8f8f8;
    padding: 20px;
    width: 95%;
    margin: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: expandDetails 0.5s ease;
    border-right: 1.25px solid #ed3237;/*#f77a7e;*/
    border-bottom: 1.25px solid #ed3237;
    display: flex; /* Use flexbox */
    justify-content: center; /* Center the entire content */
}

.new-more-details-card li{
    margin-bottom: 2px;
    font-size: 1em;
    color: #393939;
    list-style-type: disc;
}



.new-more-details-card {
    display: none;
    overflow: hidden;
    max-height: 0;
    margin: 5px auto;
    opacity: 0;
}

.new-more-details-card.expanded {
    display: block;
    animation: expandDetails 0.5s ease forwards;
}

.new-more-details-card.collapsing {
    animation: collapseDetails 0.1s ease forwards;
}

@keyframes expandDetails {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px; /* Adjust based on content */
    }
}

@keyframes collapseDetails {
    from {
        opacity: 1;
        max-height: 500px; /* Adjust based on content */
    }
    to {
        opacity: 0;
        max-height: 0;
    }
}

.arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.arrow.rotate {
    transform: rotate(90deg);
}

@media (max-width: 1000px) {


    .new-image-container{
        width: 60%;
    }
    .new-card-details-container {
        flex-direction: column; /* Stack content and button vertically */
        align-items: center; /* Align content to the start */
        width: 100%; /* Adjust width for a better fit */
        margin: 0 auto;
        padding: 20px;
    }

    .new-button {
        display: flex;
        width: 100%; /* Take full width */
        justify-content: space-between; /* Align buttons to the ends */
        margin-top: 50px; 
        align-items: center;
    }

    .new-enquiry-btn, .new-viewmore-btn {
        /* width: 150px; */
        top: 0;
        margin: 0;
        max-width: 50%;
        scale: 0.9;
    }
    .new-more-details-card{
        margin: 10px auto;
        width: 85%;
    }
}


/* @media (max-width: 850px) {

    .new-card{
        flex-direction: column;
        width: 90%;
    }

    .new-image-container{
        width: 100%;
    }
} */


@media (max-width: 800px) {

    .new-card {
        flex-direction: column; /* Stack image above details */
        align-items: center; /* Center align for a cleaner mobile view */
    }

    .new-image-container {
        width: 100%; /* Full width on smaller screens */
    }

    .new-details-wrapper {
        width: 100%; /* Take full width */
        margin-top: 10px; /* Add space between image and details */
    }

    .new-card-details-container {
        width: 90%; /* Slightly narrower for padding on smaller screens */
        flex-direction: column;
        align-items: center; /* Center align text/content */
        padding: 15px;
        margin: 0 auto;
     }

     .new-info{
        /* justify-content: center; */
        text-align: center;
     }
    .new-package-features {
        flex-wrap: wrap; 
        justify-content: center;  /* Center the items horizontally */
    gap: 30px;                /* Consistent gap between items */
    padding: 0 15px;
    }
    .new-enquiry-btn, .new-viewmore-btn {
        /* width: 150px; */
        top: 0;
        margin: 0;
        max-width: 30%;
        scale: 0.9;
    }


}
